package com.mk.admin.mapper;

import com.mk.admin.model.dto.PatientCardDto;
import com.mk.admin.model.entity.PatientCardEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PatientCardMapper extends MKBaseMapper<PatientCardEntity> {
    List<PatientCardDto> select(PatientCardEntity entity);

    Integer loginStatus(Integer id);

    Integer updateCampus(PatientCardEntity entity);

    PatientCardDto selectByPatId(String patId);

    List<PatientCardDto> selectByOpenId(String openId);

    List<PatientCardDto> selectEchByOpenId(String openId);

    Integer updateHealthInfo(PatientCardEntity entity);
}
